package com.ruoyi.game.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 游戏应用对象 game_app
 * 
 * @author ruoyi
 * @date 2024-03-30
 */
public class GameApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String appName;

    /** 应用包名 */
    @Excel(name = "应用包名")
    private String appPackageName;

    /** 应用ID */
    @Excel(name = "应用ID")
    private String appId;

    /** 应用状态 */
    @Excel(name = "应用状态")
    private Integer appStatus;

    /** 应用类型 */
    @Excel(name = "应用类型")
    private Integer appType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAppName(String appName) 
    {
        this.appName = appName;
    }

    public String getAppName() 
    {
        return appName;
    }
    public void setAppPackageName(String appPackageName) 
    {
        this.appPackageName = appPackageName;
    }

    public String getAppPackageName() 
    {
        return appPackageName;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setAppStatus(Integer appStatus) 
    {
        this.appStatus = appStatus;
    }

    public Integer getAppStatus() 
    {
        return appStatus;
    }
    public void setAppType(Integer appType) 
    {
        this.appType = appType;
    }

    public Integer getAppType() 
    {
        return appType;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appName", getAppName())
            .append("appPackageName", getAppPackageName())
            .append("appId", getAppId())
            .append("appStatus", getAppStatus())
            .append("appType", getAppType())
            .append("creationTime", getCreationTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
